#include"Shape.h"
#include"CTriangle.h"
#include"CRectangle.h"

int main(){
	CRectangle rect(3,6);
	CTriangle trgl(2,4);
	cout << "area:" << rect.area() << endl;
	cout << "area:" << trgl.area() << endl;
	_getch();
	return 0;
}